<%@ page import="informationsystem.Admin" %>



<div class="fieldcontain ${hasErrors(bean: adminInstance, field: 'userName', 'error')} required">
	<label for="userName">
		<g:message code="admin.userName.label" default="User Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="userName" required="" value="${adminInstance?.userName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: adminInstance, field: 'password', 'error')} required">
	<label for="password">
		<g:message code="admin.password.label" default="Password" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="password" required="" value="${adminInstance?.password}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: adminInstance, field: 'role', 'error')} required">
	<label for="role">
		<g:message code="admin.role.label" default="Role" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="role" required="" value="${adminInstance?.role}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: adminInstance, field: 'emailId', 'error')} required">
	<label for="emailId">
		<g:message code="admin.emailId.label" default="Email Id" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="emailId" required="" value="${adminInstance?.emailId}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: adminInstance, field: 'phone', 'error')} required">
	<label for="phone">
		<g:message code="admin.phone.label" default="Phone" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="phone" required="" value="${adminInstance?.phone}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: adminInstance, field: 'address', 'error')} required">
	<label for="address">
		<g:message code="admin.address.label" default="Address" />
		<span class="required-indicator">*</span>
	</label>
	<g:textArea name="address" cols="40" rows="5" maxlength="10000" required="" value="${adminInstance?.address}"/>
</div>

